import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class Demo {
    private static final Logger logger = LoggerFactory.getLogger(Demo.class);

    public static void main(String[] args) {
        //日志级别 TRACE < DEBUG < INFO < WARN < ERROR
        logger.trace("this is a trace");
        logger.debug("this is a debug");
        logger.info("this is an info");
        logger.warn("this is a warn");
        logger.error("this is an error");
    }
}
